package com.ruoyi.travel.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;


/**
 * 租户视图对象
 *
 * @author ruoyi
 * @date 2024-02-07
 */
@Data
@ExcelIgnoreUnannotated
public class WechatUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
@Schema(description = "id")
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 租户编号
     */
@Schema(description = "租户编号")
    @ExcelProperty(value = "租户编号")
    private String tenantId;

    /**
     * 姓名
     */
@Schema(description = "姓名")
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 电话
     */
@Schema(description = "电话")
    @ExcelProperty(value = "电话")
    private String phone;

    /**
     * 地址
     */
@Schema(description = "地址")
    @ExcelProperty(value = "地址")
    private String address;

    /**
     * 备注
     */
@Schema(description = "备注")
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 状态（0正常 1停用）
     */
@Schema(description = "状态（0正常 1停用）")
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 创建部门
     */
@Schema(description = "创建部门")
    @ExcelProperty(value = "创建部门")
    private Long createDept;


}
